package com.ruoyi.project.pay.ali.modal;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;


/**
 * Filename: AliAppPayModal.java <br>
 * <p>
 * Description: 支付宝支付实体参数<br>
 *
 * @author: rongrong <br>
 * @version: 1.0 <br>
 * @Createtime: 2019-12-02 <br>
 * <p>
 * Modification History:
 * Date         Author          Version            Description
 * ---------------------------------------------------------*
 * 2019-12-07       rongrong            v1.0              第一次创建
 * @Copyright: Copyright (c)2019 by rongrong <br>
 */
@Data
@Component
public class AliH5PayModal {

    /**
     * 应用Appid
     */
    @Value("${ali-pay.h5.appid}")
    private String appid;
    /**
     * 应用私钥
     */
    @Value("${ali-pay.h5.private_key}")
    private String app_private_key;
    /**
     * 支付宝公钥
     */
    @Value("${ali-pay.h5.publice_key}")
    private String app_publice_key;
    /**
     * 回调url
     */
    @Value("${ali-pay.h5.notify_url}")
    private String notify_url;
    /**
     * 描述
     */
    private String body;
    /**
     * 标题
     */
    private String subject;
    /**
     * 订单号
     */
    private String outTradeNo;
    /**
     * 订单金额
     */
    private String total_amount;

    /**
     * 销售产品码，商家和支付宝签约的产品码
     */
    private String product_code;


}
